﻿@page "/ip"
@inject IStringLocalizer<Ips> Localizer

<h3>@Localizer["IpTitle"]</h3>

<h4>@Localizer["IpSubTitle"]</h4>

<DemoBlock Title="@Localizer["IpNormalTitle"]" Introduction="@Localizer["IpNormalIntro"]" Name="Normal">
    <IpAddress @bind-Value="@Value" />
    <div class="mt-3">@Value</div>
</DemoBlock>

<DemoBlock Title="@Localizer["IsDisabledTitle"]" Introduction="@Localizer["IsDisabledIntro"]" Name="IsDisabled">
    <IpAddress Value="@Value" IsDisabled="true" />
</DemoBlock>
